# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ovos-skill-hello-world
pkgver=0.0.4a3
pkgrel=0
pkgdesc="Introductory Skill so that Skill Authors can see how an OVOS Skill is put together"
url="https://github.com/OpenVoiceOS/skill-ovos-hello-world"
# s390x blocked by py3-speechrecognition -> py3-ovos-workshop
arch="noarch !s390x"
license="Apache-2.0"
depends="
	py3-ovos-utils
	py3-ovos-workshop
	"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/skill-ovos-hello-world/archive/refs/tags/V$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/skill-ovos-hello-world-$pkgver"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
af103a0c9d09f8e178d4da234eca133023b4ff813e4f8203c9eac9dce974684bf9c42c25d640027b8d01f6adf23a1921c9a1ba8233b1c3e8e2d887235fd3f85b  ovos-skill-hello-world-0.0.4a3.tar.gz
"
